package com.ruoyi.electronicFence.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 算法结果对象 t_algorithm_result
 * 
 * @author sxygsj
 * @date 2024-07-12
 */
public class TAlgorithmResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 算法结果id */
    private Long id;

    /** 算法配置id */
    @Excel(name = "算法配置id")
    private Long algorithmConfigId;

    /** 报警类型   1 预警  2一般  3 严重 4 断电 5 正常 */
    @Excel(name = "报警类型   1 预警  2一般  3 严重 4 断电 5 正常")
    private String resType;

    /** 报警图片 */
    @Excel(name = "报警图片")
    private String resImage;

    /** 报警视频 */
    @Excel(name = "报警视频")
    private String resVideo;

    /** 跳帧数 */
    @Excel(name = "跳帧数")
    private String resFrameSkip;

    /** 分析时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "分析时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date resTime;

    /** 分析结果 */
    @Excel(name = "分析结果")
    private String resResult;

    /** 测温数据   0位最大值 1位最小值 2位温度 */
    @Excel(name = "测温数据   0位最大值 1位最小值 2位温度")
    private String resTemperature;

    /** 检测结果框点坐标 */
    @Excel(name = "检测结果框点坐标")
    private String xminXmaxYminYmax;

    /** 置信度结果 */
    @Excel(name = "置信度结果")
    private String resConfidence;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAlgorithmConfigId(Long algorithmConfigId) 
    {
        this.algorithmConfigId = algorithmConfigId;
    }

    public Long getAlgorithmConfigId() 
    {
        return algorithmConfigId;
    }
    public void setResType(String resType) 
    {
        this.resType = resType;
    }

    public String getResType() 
    {
        return resType;
    }
    public void setResImage(String resImage) 
    {
        this.resImage = resImage;
    }

    public String getResImage() 
    {
        return resImage;
    }
    public void setResVideo(String resVideo) 
    {
        this.resVideo = resVideo;
    }

    public String getResVideo() 
    {
        return resVideo;
    }
    public void setResFrameSkip(String resFrameSkip) 
    {
        this.resFrameSkip = resFrameSkip;
    }

    public String getResFrameSkip() 
    {
        return resFrameSkip;
    }
    public void setResTime(Date resTime) 
    {
        this.resTime = resTime;
    }

    public Date getResTime() 
    {
        return resTime;
    }
    public void setResResult(String resResult) 
    {
        this.resResult = resResult;
    }

    public String getResResult() 
    {
        return resResult;
    }
    public void setResTemperature(String resTemperature) 
    {
        this.resTemperature = resTemperature;
    }

    public String getResTemperature() 
    {
        return resTemperature;
    }
    public void setXminXmaxYminYmax(String xminXmaxYminYmax) 
    {
        this.xminXmaxYminYmax = xminXmaxYminYmax;
    }

    public String getXminXmaxYminYmax() 
    {
        return xminXmaxYminYmax;
    }
    public void setResConfidence(String resConfidence) 
    {
        this.resConfidence = resConfidence;
    }

    public String getResConfidence() 
    {
        return resConfidence;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("algorithmConfigId", getAlgorithmConfigId())
            .append("resType", getResType())
            .append("resImage", getResImage())
            .append("resVideo", getResVideo())
            .append("resFrameSkip", getResFrameSkip())
            .append("resTime", getResTime())
            .append("resResult", getResResult())
            .append("resTemperature", getResTemperature())
            .append("xminXmaxYminYmax", getXminXmaxYminYmax())
            .append("resConfidence", getResConfidence())
            .toString();
    }
}
